import request from '@/utils/request2'

export async function routeGet(roles) {
  return await request({
    url: '/index/role',
    method: 'post',
    data: { roles }
  })
}
